SCANTRIGACTION=ONCE, SCANTRIGSEL=IMMEDIATE, SINGLETRIGACTION=ONCE, SINGLETRIGSEL=IMMEDIATE, SINGLETAILGATE=TAILGATEOFF
Trigger
SCANTRIGSEL | Scan Trigger Select 0 (IMMEDIATE): Immediate triggering. The scan queue will be disabled once all conversions in the scan table are complete, unless TRIGGERACTION is set to continuous. 1 (TIMER): Triggers when the local timer count reaches zero. 2 (PRSCLKGRP): Triggers on PRS0 from a timer module that is using the same clock group as the ADC and has been programmed to use the same clock source as the ADC. The prescale may be different between the ADC and the timer module. 3 (PRSPOS): Triggers on asynchronous PRS0 positive edge. Requires PRS0 to go low for 3 ADC_CLKs before another positive edge can be detected. Generates an additional delay of 1 to 2 ADC_SRC_CLK cycles for synchronization. 4 (PRSNEG): Triggers on asynchronous PRS0 negative edge. Requires PRS0 to go high for 3 ADC_CLKs before another negative edge can be detected. Generates an additional delay of 1 to 2 ADC_SRC_CLK cycles for synchronization. PRSNEG should only be used when the trigger source is from a module that remains powered during EM23. For modules (ie: TIMER) that power down during EM23, PRSPOS should be used for an asynchronous trigger, and PRSCLKGRP should be used for a synchronous trigger. |
SCANTRIGACTION | Scan Trigger Action 0 (ONCE): For TRIGSEL=IMMEDIATE, goes through the scan table once and disables queue. For TRIGSEL = TIMER, PRSCLKGRP, PRSPOS, PRSNEG, goes through the scan table once per trigger. 1 (CONTINUOUS): Goes through the scan table, converts each entry with a mask bit set, and puts it back into the scan queue to repeat again continuously. The queues are first come first serve. If both queues are triggered, the single queue will get to convert after each scan table completes. The scan queue will get to convert after each single conversion completes. |
SINGLETRIGSEL | Single Trigger Select 0 (IMMEDIATE): Immediate triggering. The single queue will be disabled once the conversion is complete, unless TRIGGERACTION is set to continuous. 1 (TIMER): Triggers when the timer count reaches zero. 2 (PRSCLKGRP): Triggers on PRS1 from a timer module that is using the same clock group as the ADC and has been programmed to use the same clock source as the ADC. The prescale may be different between the ADC and the timer module. 3 (PRSPOS): Triggers on asynchronous PRS1 positive edge. Requires PRS1 to go low for 3 ADC_CLKs before another positive edge can be detected. Generates an additional delay of 1 to 2 ADC_SRC_CLK cycles for synchronization. 4 (PRSNEG): Triggers on asynchronous PRS1 negative edge. Requires PRS1 to go high for 3 ADC_CLKs before another negative edge can be detected. Generates an additional delay of 1 to 2 ADC_SRC_CLK cycles for synchronization. PRSNEG should only be used when the trigger source is from a module that remains powered during EM23. For modules (ie: TIMER) that power down during EM23, PRSPOS should be used for an asynchronous trigger, and PRSCLKGRP should be used for a synchronous trigger. |
SINGLETRIGACTION | Single Trigger Action 0 (ONCE): For TRIGSEL=IMMEDIATE, converts the single queue once and disables queue. For TRIGSEL = TIMER, PRSCLKGRP, PRSPOS, PRSNEG, converts the single queue once per trigger.ask. 1 (CONTINUOUS): Converts the single queue, then checks for a pending scan queue before converting the single queue again continuously. The queues are first come first serve. If both queues are continuous, the IADC alternates between them. |
SINGLETAILGATE | Single Tailgate Enable 0 (TAILGATEOFF): The single queue is ready to start warming up and converting once the trigger had been detected. 1 (TAILGATEON): After the single queue’s trigger is detected, it must wait until the end of a scan operation before the Single queue can be converted. |